package top.superflow.flow.runtime.hierachy

import top.superflow.flow.runtime.context.RuntimeContext



trait ScopeKeeper {

  private var outer : ScopeKeeper = _

  private var category : String = _

  private var context : RuntimeContext = _

  def getCategory = this.category

  def setCategory (c : String) = this.category = c

  def getOuter : ScopeKeeper = this.outer

  def setOuter(p : ScopeKeeper) = this.outer = p

  def getContext : RuntimeContext = context

  def setContext(c : RuntimeContext) = this.context = c
}
